package de.dlrg.wms.interfaces.controller;

import wms2010.interfaces.devices.IDevice;

public class StopperEvent {
	private boolean ignoreEvent = false; 
	public boolean isIgnoreEvent() {
		return ignoreEvent;
	}

	public StopperEvent setIgnoreEvent(boolean ignoreEvent) {
		this.ignoreEvent = ignoreEvent;
		return this;
	}

	private Long timeOfEvent;

	public Long getTimeOfEvent() {
		return timeOfEvent;
	}

	public StopperEvent setTimeOfEvent(Long timeOfEvent) {
		this.timeOfEvent = timeOfEvent;
		return this;
	}

	private IDevice device;

	public IDevice getDevice() {
		return device;
	}

	public StopperEvent setDevice(IDevice device) {
		this.device = device;
		return this;
	}

	public boolean isStarter() {
		return this.device.isStarter();
	}
}
